create database spring;

USE spring;

SET NAMES utf8mb4;
SET FOREIGN_KEY_CHECKS = 0;

-- ----------------------------
-- Table structure for user
-- ----------------------------
DROP TABLE IF EXISTS `user`;
CREATE TABLE `user` (
                        `id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT '自增ID',
                        `userId` varchar(9) DEFAULT NULL COMMENT '用户ID',
                        `userHead` varchar(16) DEFAULT NULL COMMENT '用户头像',
                        `createTime` datetime DEFAULT NULL COMMENT '创建时间',
                        `updateTime` datetime DEFAULT NULL COMMENT '更新时间',
                        PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8;

-- ----------------------------
-- Records of user
-- ----------------------------
BEGIN;
COMMIT;

SET FOREIGN_KEY_CHECKS = 1;